package com.dingding.service.user.facade;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.dingding.facade.user.service.IUserAccountFacade;
import com.dingding.service.user.core.dao.IUserAccountDao;

/**
 * 
 * @ClassName: UserAccountFacadeImpl 
 * @Description: 用户账户操作服务
 * @author CHEHAUNBO 
 * @date 2016年6月14日 上午10:37:26
 * 
 */
@Component("userAccountFacade")
public class UserAccountFacadeImpl implements IUserAccountFacade {

	@Resource(name = "userAccountDao")
	private IUserAccountDao userAccountDao;

	/**
	 * 
	 * 退款
	 * 
	 * @Title: refund 
	 * @param money  退款金额
	 * @param userId 用户ID
	 * @author CHEHAUNBO
	 * 
	 */
	public boolean refund(Double money, String userId) {

		return userAccountDao.refund(money, userId);

	}

}
